package dao;
import java.util.List;

import pojo.Book;
public interface BookDao {

    //增
    public void add(Book book);
    //删
    public void delete(String bookId);
    //改
    public void update(Book book);
    //查全部
    public List<Book> searchAll();
    //按类别查询
    public List<Book> searchClassify(String classify);
    //模糊查询
    public List<Book> searchFuzzy(String fuzzy);
    //按书号查询
    public Book searchId(String id);
}
